<%@tag pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="custom" tagdir="/WEB-INF/tags" %>
<%@attribute name="item" required="true" type="cn.livingCloud.dto.CaseCategoryDto" %>

<c:if test="${not empty item.subList}">
    <div class="form-group hide" parent="${item.uuid}">
        <div class="col-sm-12">
            <select class="form-control categoryList">
                <option value="">请选择案件分类</option>
                <c:forEach items="${item.subList}" var="subItem">
                    <option value="${subItem.uuid}">${subItem.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>
    <c:forEach items="${item.subList}" var="subItem">
        <custom:case_category_list item="${subItem}"/>
    </c:forEach>
</c:if>